package com.heyqing.ems.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heyqing.ems.domain.BossInfo;
import com.heyqing.ems.po.ModifyPo;
import com.heyqing.ems.po.OpManagerPo;
import com.heyqing.ems.po.QueryPo;
import com.heyqing.ems.vo.Result;

/**
 * ClassName:BossService
 * Package:com.heyqing.ems.service
 * Description:
 *
 * @Date:2024/6/26
 * @Author:Heyqing
 */
public interface BossService extends IService<BossInfo> {

    /**
     * 列表查询
     *
     * @param queryPo
     * @return
     */
    Result getList(QueryPo queryPo);

    /**
     * 添加/修改经理
     *
     * @param opManagerPo
     * @return
     */
    Result saveManger(OpManagerPo opManagerPo);

    /**
     * 删除经理
     *
     * @param id
     * @return
     */
    Result delete(Long id);

    /**
     * 添加/修改经理
     *
     * @param modifyPo
     * @return
     */
    Result modify(ModifyPo modifyPo);
}
